<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


namespace Acme\HelloBundle\Controller;


use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class HelloController extends Controller {
    public function indexAction($name) {
        
//throw $this->createNotFoundException('The product does not exist');
 return $this->render('AcmeHelloBundle:Hello:index.html.twig', array('name' => $name));
        //return new Response('<html><body>Hello ngoc '.$name.'!</body></html>');
    }
}

